package gui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JTextArea;

public class Ventana_Responder extends JDialog {

	private static final long serialVersionUID = -5221274147638391290L;

	private JPanel p1, p2;
	private JButton b1;
	private JTextArea texto;
	
	/* Constructor */
	public Ventana_Responder(){
		setLayout(new BorderLayout());
		
		// p1
		p1    = new JPanel(new BorderLayout());
		p1.setBorder(BorderFactory.createTitledBorder("Mensaje: "));
		texto = new JTextArea();
			
		p1.add(texto, BorderLayout.CENTER);
		
		// p2 
		p2 = new JPanel();
		b1 = new JButton("Enviar Mensaje"); 
		p2.add(b1);
		
		add(p1, BorderLayout.CENTER);
		add(p2, BorderLayout.SOUTH);
		
		setModal(true);
		setTitle("S.A.E.R - C.A.P (Respuesta)");
		setSize(new Dimension(700, 500));
		setResizable(false);
		setDefaultCloseOperation(DISPOSE_ON_CLOSE);
	}
	
	
}
